﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class ArrayUtil
    {
        public static void ArrayUtil1() 
        {
            int[] b = new int[8] {1,2,3,4,5,6,5,10 };
            Boolean a = false;
            for (int i = 0; i <=3; i++)
            {
                if (b[i]==null)
                {
                    a = true;
                }
                else if (b.Length == 0)
                {
                    a = true;
                }
                else
                {
                    a = false;
                }
            }
            Console.WriteLine(a);
        }
    }
}
